﻿@model YCMS.Models.DockListViewModel

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Dock</legend>


    <div class="display-label">DockName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.dock.DockName)
    </div>

    <div class="display-label">MaxLength</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.dock.MaxLength)
    </div>

    <div class="display-label">MaxBeam</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.dock.MaxBeam)
    </div>

    <div class="display-label">Vacant</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.dock.Vacant)
    </div>

    <div class="display-label">DockArea</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.dock.DockArea)
    </div>
    <div class="display-label">Member</div>
    <div class="display-field">
        @Html.ListBox("MemberDock", Model.MemberDocks);
    </div>

</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.dock.ID, SortOrder = Model.sortOrder, pageNumber = Model.pageNumber }) |
    @Html.ActionLink("Back to List", "List", new {SortOrder=Model.sortOrder, page=Model.pageNumber})
</p>
